﻿using Life.UI.MVC.Model;
using Life.UI.MVC.View;

namespace Life.UI.MVC.Extra.Controller
{
    /// <summary>
    /// 必须由MonoBehaviour的类继承
    /// </summary>
    public interface IUIPageProcessor
    {
        void OnPageAwake(UIPage page, ViewBase viewBase);
        bool OnPageUpdate(UIPage page, ViewBase viewBase,ModelBase model);
        
        void OnViewEnable(UIPage page, ViewBase viewBase);
        void OnViewDisable(UIPage page, ViewBase viewBase);
    }
}